package iedcyt.acute.dataAccess.dao.maesorg;

import iedcyt.acute.dataAccess.domain.maesorg.RevistasCSICenWoS;
import iedcyt.acute.dataAccess.generic.ResultSetGenericExtractor;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.ResultSetExtractor;

public class RevistasCSICenWoSResultSetExtractor extends ResultSetGenericExtractor implements ResultSetExtractor<RevistasCSICenWoS> {

	@Override
	public RevistasCSICenWoS extractData(ResultSet rs) throws SQLException {
		
		RevistasCSICenWoS wrF = new RevistasCSICenWoS(rs.getString(1), rs.getString(2), rs.getString(3), rs.getString(4), getInteger(rs, 5));
				
		return wrF;
	}
}
